﻿<%@ Page Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="AddNewCountry.aspx.cs" Inherits="Admin_area_country_AddNewCountry"
    MaintainScrollPositionOnPostback="true" Title="Add New Country - ComparExpress Admin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="contents">
        <table width="100%" cellpadding="3" cellspacing="0" border="0">
            <tr>
                <td colspan="2">
                    <h1>Country Info</h1>
                    <asp:Label ID="lblCoId" runat="server" Visible="false"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="width: 30%";>
                    Country Name
                </td>
                <td>
                    <asp:TextBox ID="txtCountry" runat="server" Width="150px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvCountryName" runat="server" ErrorMessage="*" ControlToValidate="txtCountry"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td>
                    Status
                </td>
                <td>
                    <asp:CheckBox ID="chkCountryStatus" runat="server" />
                </td>
            </tr>
            <tr>
                <td>&nbsp;
                </td>
                <td>
                    <p>
                        <asp:Button ID="btnSubmit" runat="server" Text="Submit" Width="80px" OnClientClick="javascript:if(Page_IsValid) return confirm('Are you sure to save record?');"
                            OnClick="btnSubmit_Click" CssClass="btn blue" />
                        <asp:Button ID="btnClear" runat="server" Text="Clear" Width="80px" OnClientClick=" return confirm('Are you sure to clear form to create now?');"
                            OnClick="btnClear_Click" CssClass="btn blue" />
                        <asp:Button ID="btnBack" runat="server" Text="Back" Width="80px" OnClick="btnBack_Click"
                            CausesValidation="false" CssClass="btn blue" />
                    </p>
                </td>
            </tr>
            <tr>
                <td>&nbsp;
                </td>
                <td>
                    <asp:Label ID="lblMessage" runat="server" ForeColor="Green" Font-Bold="true"></asp:Label>
                    <asp:Label ID="lblError" runat="server" ForeColor="Red" Font-Bold="true"></asp:Label>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
